package com.supor.aiot.common.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * ---------------------------------------------------------------- <br>
 * Copyright (C) 2014-2021, by het, ShenZhen, All rights reserved.  <br>
 * ---------------------------------------------------------------- <br>
 * <p>
 * {
 * "adId": 14,
 * "adName": "莲藕",
 * "adType": "APP_BANNER",
 * "imageUrl": "https://iot-video.supor.com/image/cover/2DCE2B8219C64B099264BE79589A1314-6-2.jpg",
 * "linkUrl": "recipe{2021062816140210103}",
 * "creator": null,
 * "isLimit": 0,
 * "startTime": "2021-07-27",
 * "endTime": "2021-09-28",
 * "putinRange": null,
 * "adStatus": "NORMAL",
 * "createTime": "2021-07-28 14:20:29",
 * "lastUpdate": "2021-09-17 17:02:51",
 * "isDel": 0,
 * "note": null,
 * "remark": null,
 * "adTypeStatus": 2,
 * "adContext": "",
 * "browseCount": 0
 * }
 * <p>
 * 描述: BannerInfo <br>
 * 作者: lei <br>
 * 日期: 2021/10/22 <br>
 */
public class BannerInfo implements MultiItemEntity {
    public final static int TYPE_ITEM_LOAD = 1;
    public final static int TYPE_ITEM_NOMAL = 0;
    private int itemType;
    /**
     * banner id
     */
    public int adId;
    /**
     * banner name
     */
    public String adName;
    /**
     * adType
     */
    public String adType;
    /**
     * banner图片
     */
    public String imageUrl;
    /**
     * 跳转地址
     */
    public String linkUrl;
    public String creator;
    public int isLimit;
    public String startTime;
    public String endTime;
    public String createTime;
    public String lastUpdate;
    public String putinRange;
    /**
     * banner状态，NORMAL，INIT
     */
    public String adStatus;
    public int adTypeStatus;
    public String adContext;
    public int browseCount;

    @Override
    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }
}
